<?php
$title = $args['title'] ?? "";

if (empty($title)) return;
?>

<p class="t5"><?= $title ?></p>

<style>
    .t5 {
        font-size: 1.5rem;
        color: #000;
        line-height: 2rem;
        margin: var(--gap) 0;
        font-weight: bold;
        position: relative;
        padding-right: 3rem;
        overflow: hidden;
    }

    .t5:after {
        content: "";
        width: 2rem;
        height: 2rem;
        background-color: var(--color-border);
        position: absolute;
        right:-.6rem;
        transform: rotate(45deg);        
    }

    p.t5:first-child {
        margin-top: 0;
    }

    p.t5:last-child {
        margin-bottom: 0;
    }

    div.left>p.t5 {
        margin-bottom: 0;
    }
</style>